package cn.hutool.core.lang.apiAssert.tuple;


import java.io.Serializable;

public class Triple<LEFT, MIDDLE, RIGHT> implements Serializable {
    private LEFT left;
    private MIDDLE middle;
    private RIGHT right;

    public static <LEFT, MIDDLE, RIGHT> Triple<LEFT, MIDDLE, RIGHT> create(LEFT left, MIDDLE middle, RIGHT right) {
        return new Triple<>(left, middle, right);
    }

	public Triple(LEFT left, MIDDLE middle, RIGHT right) {
		this.left = left;
		this.middle = middle;
		this.right = right;
	}
}
